<template>
  <div style="height: calc(100% - 55px);">
    <el-form
      ref="form"
      :model="form"
      label-position="top"
      label-width="90px"
      class="dv-form p-15"
    >
      <el-row :gutter="20">
        <el-col :span="12">
          <el-form-item label="是否听取法律意见" prop="c1">
            <el-radio-group
              v-model="form.c1"
              :disabled="type === 'detail'"
            >
              <el-radio label="0">是</el-radio>
              <el-radio label="1">否</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="是否提审" prop="c2">
            <el-radio-group
              v-model="form.c2"
              :disabled="type === 'detail'"
            >
              <el-radio label="0">是</el-radio>
              <el-radio label="1">否</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="风险评估" prop="c3">
            <el-input
              v-model.trim="form.c3"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="调解情况" prop="c4">
            <el-input
              v-model.trim="form.c4"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="12">
          <el-form-item label="是否认罪认罚" prop="c5">
            <el-radio-group
              v-model="form.c5"
              :disabled="type === 'detail'"
            >
              <el-radio label="0">是</el-radio>
              <el-radio label="1">否</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="12">
          <el-form-item label="是否补证" prop="c6">
            <el-radio-group
              v-model="form.c6"
              :disabled="type === 'detail'"
            >
              <el-radio label="0">是</el-radio>
              <el-radio label="1">否</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="补证情况" prop="c7">
            <el-input
              v-model.trim="form.c7"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="12">
          <el-form-item label="是否追捕" prop="c8">
            <el-radio-group
              v-model="form.c8"
              :disabled="type === 'detail'"
            >
              <el-radio label="0">是</el-radio>
              <el-radio label="1">否</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="侦查活动监督" prop="c9">
            <el-input
              v-model.trim="form.c9"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="联席会讨论情况" prop="c10">
            <el-input
              v-model.trim="form.c10"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="12">
          <el-form-item label="审结时间" prop="c11">
            <el-date-picker
              v-model="form.c11"
              :disabled="type === 'detail'"
              type="date"
              value-format="yyyy-MM-dd"
              class="w-100"
              placeholder="请选择"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="审结结果" prop="c12">
            <el-input
              v-model.trim="form.c12"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="执行情况" prop="c13">
            <el-input
              v-model.trim="form.c13"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="是否需要补充侦查" prop="c14">
            <el-radio-group
              v-model="form.c14"
              :disabled="type === 'detail'"
            >
              <el-radio label="0">是</el-radio>
              <el-radio label="1">否</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
        <el-col :span="24">
          <el-form-item label="不捕案件追踪（督促补证情况）" prop="c15">
            <el-input
              v-model.trim="form.c15"
              type="textarea"
              :disabled="type === 'detail'"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="信息" prop="16">
            <el-input
              v-model.trim="form.c16"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="宣传" prop="c17">
            <el-input
              v-model.trim="form.c17"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="内部线索移送" prop="c18">
            <el-input
              v-model.trim="form.c18"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="检查建议" prop="c19">
            <el-input
              v-model.trim="form.c19"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="数据模型" prop="c20">
            <el-input
              v-model.trim="form.c20"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="典型案例" prop="c21">
            <el-input
              v-model.trim="form.c21"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="24">
          <el-form-item label="信访来访情况" prop="c22">
            <el-input
              v-model.trim="form.c22"
              :disabled="type === 'detail'"
              type="textarea"
              placeholder="请输入"
              :maxlength="40"
            />
          </el-form-item>
        </el-col>
      </el-row>
      <el-row :gutter="20">
        <el-col :span="12">
          <el-form-item label="归档" prop="c23">
            <el-radio-group
              v-model="form.c23"
              :disabled="type === 'detail'"
            >
              <el-radio label="0">是</el-radio>
              <el-radio label="1">否</el-radio>
            </el-radio-group>
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
export default {

  props: {
    type: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      form: {
        c1: '1',
        c2: '1',
        c3: '',
        c4: '',
        c5: '1',
        c6: '1',
        c7: '',
        c8: '1',
        c9: '',
        c10: '',
        c11: '2025-03-23',
        c12: '',
        c13: '',
        c14: '1',
        c15: '',
        c16: '',
        c17: '',
        c18: '',
        c19: '',
        c20: '',
        c21: '',
        c22: '',
        c23: '1'
      },
      rowData: {}
    }
  },
  methods: {
    init(rowData) {
      this.rowData = rowData
    }
  }
}
</script>

<style scoped lang='scss'>

</style>
